package com.zhehekeji.opsys.api.resp;

import java.io.Serializable;
import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

import com.zhehekeji.opsys.api.common.util.SuperResp;

/**
 * @ClassName GetVoteRegionListResp
 * @Description TODO
 * @author chenweiliu chenwei.liu@163.com
 * @date 2016-7-20   下午5:22:22
 */
@XmlRootElement
public class GetVoteRegionListResp extends SuperResp {

	/** 
	* @Fields serialVersionUID : TODO
	*/ 
	private static final long serialVersionUID = 8994205225002724948L;
	private Integer recordSize;
	private List<VoteRegionInfo> voteRegionInfos;
	
	
	public Integer getRecordSize() {
		return recordSize;
	}


	public void setRecordSize(Integer recordSize) {
		this.recordSize = recordSize;
	}


	public List<VoteRegionInfo> getVoteRegionInfos() {
		return voteRegionInfos;
	}


	public void setVoteRegionInfos(List<VoteRegionInfo> voteRegionInfos) {
		this.voteRegionInfos = voteRegionInfos;
	}


	@Override
	public String toString() {
		return "GetVoteRegionListResp [recordSize=" + recordSize
				+ ", voteRegionInfos=" + voteRegionInfos + "]";
	}


	public static class VoteRegionInfo implements Serializable{
		/** 
		* @Fields serialVersionUID : TODO
		*/ 
		private static final long serialVersionUID = 5591881903268585001L;
		private Long id;
		private String code;
		private String name;
		private String originalCode;
		private Integer sequence;
		private Long cpCode;
		private Integer voteTimes;
		private Integer voteTimes4k;
		private Integer voteTimesHd;
		
		private Integer votes;
		private String startTime;
		private String endTime;
		private Integer status;
		public Long getId() {
			return id;
		}
		public void setId(Long id) {
			this.id = id;
		}
		public String getCode() {
			return code;
		}
		public void setCode(String code) {
			this.code = code;
		}
		public String getName() {
			return name;
		}
		public void setName(String name) {
			this.name = name;
		}
		public String getOriginalCode() {
			return originalCode;
		}
		public void setOriginalCode(String originalCode) {
			this.originalCode = originalCode;
		}
		public Integer getSequence() {
			return sequence;
		}
		public void setSequence(Integer sequence) {
			this.sequence = sequence;
		}
		public Long getCpCode() {
			return cpCode;
		}
		public void setCpCode(Long cpCode) {
			this.cpCode = cpCode;
		}
		public Integer getVoteTimes() {
			return voteTimes;
		}
		public void setVoteTimes(Integer voteTimes) {
			this.voteTimes = voteTimes;
		}
		public Integer getVoteTimes4k() {
			return voteTimes4k;
		}
		public void setVoteTimes4k(Integer voteTimes4k) {
			this.voteTimes4k = voteTimes4k;
		}
		public Integer getVoteTimesHd() {
			return voteTimesHd;
		}
		public void setVoteTimesHd(Integer voteTimesHd) {
			this.voteTimesHd = voteTimesHd;
		}
		public Integer getVotes() {
			return votes;
		}
		public void setVotes(Integer votes) {
			this.votes = votes;
		}
		public String getStartTime() {
			return startTime;
		}
		public void setStartTime(String startTime) {
			this.startTime = startTime;
		}
		public String getEndTime() {
			return endTime;
		}
		public void setEndTime(String endTime) {
			this.endTime = endTime;
		}
		public Integer getStatus() {
			return status;
		}
		public void setStatus(Integer status) {
			this.status = status;
		}
		@Override
		public String toString() {
			return "VoteRegionInfo [code=" + code + ", name=" + name + "]";
		}
	}
}

